package com.nxu.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.SqlSession;

import com.nxu.entity.Booked;
import com.nxu.entity.Doctor;
import com.nxu.entity.Leave;
import com.nxu.entity.Report;
import com.nxu.entity.Reservable;
import com.nxu.entity.ViewReport;
import com.nxu.util.SqlSessionFactoryUtil;

public interface DoctorDao {
	 int  insertLeave(Leave leave);
     List<Date> selectReservableDoctor(String dname);
     int insertDoctor(Doctor doctor);
	 String selectDoctor(String dname);
	 
	 
    List<Booked> selectBookedOnly(String dname);
	List<Integer> selectBookedPid(String dname);
	
	
    List<Report> selectReportVidDtext(String Dname);
    
	List<ViewReport> selectReport(int vid);
	
	
	 int updateReport(@Param(value = "dtext") String dtext,@Param(value = "vid") int vid);
	
	 List<Doctor> selectShowDoctor();

}
